<?php
/*
Template Name: front
*/
?>
<?php
get_header();
?>

<?php include (TEMPLATEPATH . "/navigation.php")?>
<?php include (TEMPLATEPATH . "/middle_menu.php")?>
<div id="content">
<div id="contentin">
<div id="contentinall">

<?php include (TEMPLATEPATH . "/news_leftbar.php")?>

<div style="float: left;">
<div id="contentyellow">
<div class="margin-bottom10 margin-left10 margin-right10 margin-top10">
<div class="right"><img src="<?php bloginfo('template_url'); ?>/img/team.jpg" alt="" /></div>
<div class="clear"></div>
<div style="margin: 10px auto; width: 353px;">
<object width="480" height="295">
<param name="movie" value="<?php echo get_option("youtube_url") ?>"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always">

</param>
<embed src="<?php echo get_option("youtube_url"); ?>"   wmode="transparent"
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
 width="350" height="220"></embed></object></div>
<div>
<div class="title margin-bottom10"></div> 
</div>
</div>
</div>
<?php include (TEMPLATEPATH . "/class_rightbar.php")?>
<div style="clear: both;"> </div>
<div style="background: #E9E9E9;">
<?php include (TEMPLATEPATH . "/board_middle.php")?>


<div id="webboardbottom"></div>

</div>

<div style="clear: both;"> </div>

</div>
<div style="clear: both;"> </div>
</div>
<div style="background: url(<?php bloginfo('template_url'); ?>/img/main_conntent_bg_bottom.png) no-repeat; height: 11px;"></div>
</div>
<?php Global $wpdb;
$rows =$wpdb->get_results("select * from wp_posts where post_name='promotion'") ;
if(isset($rows[0])){
 if($rows[0]->post_status=="publish"){

?>  

<div id="dialog" title="fusionmusic promotion">
	<?php echo $rows[0]->post_content; ?>
</div>

<?php }} ?>


<?php get_footer(); ?>